﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace SeniorCapstoneProject
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            List<FileInformation> fim = new List<FileInformation>();
            verifyUser uLogin = new verifyUser();
            frmLogin fLogin = new frmLogin();
            if (fLogin.ShowDialog() == DialogResult.OK)
            {
                //fim = fLogin.fims;
                uLogin = fLogin.vUser;
                Application.Run(new frmMain(/*fim,*/ uLogin));
            }
            else
            {
                Application.Exit();
            }
        }
    }
}
